package org.common.vo;

public class ServiceException extends RuntimeException {
	private static final long serialVersionUID = 1L;
    private int status;
    
    public ServiceException() {
        this.status = 500;
    }
    
    public ServiceException(final String message, final int status) {
        super(message);
        this.status = 500;
        this.status = status;
    }
    
    public ServiceException(final String message) {
        super(message);
        this.status = 500;
    }
    
    public int getStatus() {
        return this.status;
    }
    
    public void setStatus(final int status) {
        this.status = status;
    }
}
